//
//  PhotoDetailViewController.m
//  TestPhotoMS
//
//  Created by Hung Nguyen Thanh on 10/9/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "PhotoDetailViewController.h"

@implementation PhotoDetailViewController
@synthesize dislike;
@synthesize imageView;
@synthesize titleLabel;
@synthesize likeLabel;
@synthesize xmlProcess;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    xmlProcess = [[XMLProcess alloc] init];
    xmlProcess.XMLDelegate = self;
}

- (void)viewDidUnload
{
    [self setImageView:nil];
    [self setTitleLabel:nil];
    [self setLikeLabel:nil];
    [self setDislike:nil];
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

- (IBAction)like:(id)sender {
    
}

- (IBAction)dislike:(id)sender {
}

- (IBAction)comment:(id)sender {
}

- (IBAction)share:(id)sender {
}







@end
